Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _helpers.tpl - Fallback the "app.kubernetes.io/version" to "version", if "appVersion" is not specified in Chart.yml #101

Conversation

svscorp
Copy link
Contributor

@svscorp svscorp commented Jan 3, 2025

This small patch enables fallback of the app.kubernetes.io/version to "version", if "appVersion" is not specified in Chart.yml.

This addresses the issue, when applying this repository's helm chart with templates, i.e. via ArgoCD: rpc error: code = Unknown desc = Manifest generation error (cached): failed to set app instance tracking info on manifest: failed to set app instance label: failed to get labels from target object /v1, Kind=ServiceAccount default/salad-init-settings-deploy-virtual-kubelet-saladcloud-provider: .metadata.labels accessor error: contains non-string value in the map under key "app.kubernetes.io/version": <nil> is of the type <nil>, expected string (i.e. #84)

@svscorp svscorp requested a review from a team as a code owner January 3, 2025 11:09
Copy link
Contributor

@dtroyer-salad dtroyer-salad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@seniorquico seniorquico merged commit 9ff6449 into SaladTechnologies:main Jan 20, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants